import request from '@/utils/request'

export function batchCreate (data) {
  return request({
    url: '/v01/user/kk_batch/create',
    method: 'post',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'

    },
    data: data
  })
}

export function batchConfirm (data) {
  return request({
    url: '/v01/user/kk_batch/confirm',
    method: 'put',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'

    },
    data: data
  })
}

export function batchList (params) {
  return request({
    url: '/v01/user/kk_batch/all',
    method: 'get',
    params: params
  })
}
